package com.sikaryofficial.backend.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

import java.util.Date;

@Getter
@Setter
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("store_search_result_item_t")
public class StoreSearchResultItem implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 店铺搜索结果明细ID
	 */
	@TableId(type = IdType.ASSIGN_ID)
	private Long resultItemId;
	/**
	 * 搜索日志表ID
	 */
	private Long searchLogId;
	/**
	 * 店铺ID
	 */
	private Long storeId;
	/**
	 * 店铺名称
	 */
	private String storeName;
	/**
	 * 搜索结果排名
	 */
	private Integer rankInResults;
	/**
	 * 创建人
	 */
	private Long createdBy;
	/**
	 * 创建时间
	 */
	private Date createdTime;
	/**
	 * 更新人
	 */
	private Long updatedBy;
	/**
	 * 更新时间
	 */
	private Date updatedTime;
	/**
	 * 删除版本：默认为0；删除则赋值当前记录主键ID
	 */
	private Long deletedVersion;
}